package com.share.alibaba.editor.controller;

import com.share.common.common.Result;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 01401061 - 孙艳强
 * @date 2020/10/27 17:21
 */
@RefreshScope  //需要配置更新就要该注解
@RestController
public class ArticleController {
    @RequestMapping("/user")
    public Result menu() {
        return Result.success("fdfd");
    }
}
